Skip to content

fix: auto-expand newly created favorites and recent sections - #26

Merged
m4sh-wacker merged 1 commit into
mainfrom
fix/favorites-recent-auto-expand
Nov 21, 2026
Merged

m4sh-wacker merged 1 commit into
mainfrom
fix/favorites-recent-auto-expand

Conversation

@m4sh-wacker

Copy link
Copy Markdown
Collaborator

What changed

The sidebar treated a missing expansion preference as collapsed for every folder. A first star or successful operation therefore added a folder whose contents were hidden.

Favourites and Recent now open when they first contain an operation and have no saved preference. Normal categories still start collapsed. An explicit open or closed preference survives reloads and applies again when an empty folder returns. The change uses the existing preference lookup and leaves storage, history recording, and search behavior intact.

Verification

  • Reproduced the regression on main. All eight sidebar tests pass with the fix, including simultaneous expansion, independent saved preferences, hiding and restoring folders, and reloads.
  • All 1,213 tests passed across 69 files. ESLint, TypeScript, and the site and standalone production builds passed on Node.js 22.23.5.
  • Exercised first use and saved collapses in Chrome in both themes. A read-only Release Please preview classified this commit under Fixed for the pending 0.1.1 patch.

First favourite and first execution

Before and after adding To Base64 to Favourites and Recent, in light and dark themes

@m4sh-wacker
m4sh-wacker merged commit 26cc88d into main Nov 21, 2026
6 checks passed
@m4sh-wacker
m4sh-wacker deleted the fix/favorites-recent-auto-expand branch November 21, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant